package com.elitel.frame.web.serverreqstat.dto;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @author m
 */
@Data
public class ServerReqStatDTO {
    private Integer days;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime bgtm;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime edtm;
    private String serverName;
    private String groupId;
    private String serverType;
    private String appCode;
    private Integer avgSec;
    private String flag;
    private List<String> servCodes;
    private Integer status;
    private String serverRemark;
    private String app;
    private String createdUser;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime lastReqBgTm;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime lastReqEdTm;
    private String sysDataLabelId;

    private String dbKey;
    private Integer num =0;

    private Integer maxSec;
    private String errorReqCount;
    private String reqOverTime;

}

